package com.nmgydy.model;

import javax.persistence.*;

@Entity
@Table(name="cn_move_history")
public class MoveHistory {
	private Integer id;
	private Integer taskId;//任务ID
	private String taskName;//任务名称
	private Integer courtId;//案件ID
	private String courtNumber;//案号
	private String courtName;//案件名称
	private Integer totDays;//任务天数
	private Integer curDays;//当前天数
	private Integer lastTaskId;//前任务ID
	private String lastTaskName;//前任务名称
	private Integer lastTotDays;//前任务总天数
	private Integer lastCurDays;//前任务执行天数
	private Integer lastHistoryId;//前流转记录ID
	private Integer userId;//操作人ID
	private String userName;//操作人
	private String moveTime;//流转时间
	private String updateTime;//更新时间
	private String caseType;//案件类型（1.民事案件 2.刑事案件）
	private String status;//状态（1.进行中 2.已完成 3.已逾期）

	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getTaskId() {
		return taskId;
	}

	public void setTaskId(Integer taskId) {
		this.taskId = taskId;
	}

	public String getTaskName() {
		return taskName;
	}

	public void setTaskName(String taskName) {
		this.taskName = taskName;
	}

	public Integer getCourtId() {
		return courtId;
	}

	public void setCourtId(Integer courtId) {
		this.courtId = courtId;
	}

	public Integer getTotDays() {
		return totDays;
	}

	public void setTotDays(Integer totDays) {
		this.totDays = totDays;
	}

	public Integer getCurDays() {
		return curDays;
	}

	public void setCurDays(Integer curDays) {
		this.curDays = curDays;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getMoveTime() {
		return moveTime;
	}

	public void setMoveTime(String moveTime) {
		this.moveTime = moveTime;
	}

	public String getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

	public String getCaseType() {
		return caseType;
	}

	public void setCaseType(String caseType) {
		this.caseType = caseType;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getCourtNumber() {
		return courtNumber;
	}

	public void setCourtNumber(String courtNumber) {
		this.courtNumber = courtNumber;
	}

	public String getCourtName() {
		return courtName;
	}

	public void setCourtName(String courtName) {
		this.courtName = courtName;
	}

	public Integer getLastTaskId() {
		return lastTaskId;
	}

	public void setLastTaskId(Integer lastTaskId) {
		this.lastTaskId = lastTaskId;
	}

	public String getLastTaskName() {
		return lastTaskName;
	}

	public void setLastTaskName(String lastTaskName) {
		this.lastTaskName = lastTaskName;
	}

	public Integer getLastTotDays() {
		return lastTotDays;
	}

	public void setLastTotDays(Integer lastTotDays) {
		this.lastTotDays = lastTotDays;
	}

	public Integer getLastCurDays() {
		return lastCurDays;
	}

	public void setLastCurDays(Integer lastCurDays) {
		this.lastCurDays = lastCurDays;
	}

	public Integer getLastHistoryId() {
		return lastHistoryId;
	}

	public void setLastHistoryId(Integer lastHistoryId) {
		this.lastHistoryId = lastHistoryId;
	}
}
